function main() {
 let etsVm = requireNapiPreview('ets_interop_js_napi', true);
 const etsVmRes = etsVm.createRuntime({
   'load-runtimes': 'ets',
   'log-components': 'ets_interop_js',
   'boot-panda-files': 'etsstdlib.abc:t-static.abc',
   'compiler-enable-jit': 'false',
   'coroutine-workers-count': '1',
   'gc-type': 'external',
   'gc-trigger-type': 'heap-trigger',
   'xgc-trigger-type': 'never',
 });
 if (!etsVmRes) {
   throw new Error('Failed to create ETS runtime');
 } else {
   print('ETS runtime created');
 }
 let foo = etsVm.getFunction('Lt-static/ETSGLOBAL;', 'foo');
 foo();
}
main();